Auto backup mysql database to dropbox [closed]

Posted by Rob on Programmers See other posts from Programmers or by Rob
Published on 2011-11-23T17:02:19Z Indexed on 2011/11/23 18:03 UTC
Read the original article Hit count: 226

Filed under:
|

Is it possible to automatically backup my database to dropbox? If so how can I do it?

The key criteria I need it to do is:

  1. Be automatic.
  2. Be Mac compliant.
  3. Be weekly.
  4. Sync with dropbox (http://www.dropbox.com) automatically.
  5. Be able to backup several databases from several websites.
  6. Be free... or relatively cheap!
  7. Have a guide on how to setup the solution.

UPDATE:

I've managed to setup an auto weekly backup using a cronjob:

mysqldump -u username -pMyPassword Mydatabase > backup-file.sql

That is saving the backup to my hosting space. It's a start but isn't ideal, how can I save that backup to a folder on my computer? Automatically of course.

© Programmers or respective owner

Related posts about mysql

Related posts about mac